import { createRouter, createWebHashHistory } from "vue-router"

// 路由文件
// 注意views的页面文件的命名，首字母和其他字母都大写
const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/",
            name: "home",
            component: () => import("../views/home/Index.vue")
        }
        // {
        //     path: "/about",
        //     name: "about",
        //     component: () => import("../views/AboutView.vue")
        // }
    ]
})

export default router
